/*
	PlAr is Platform Arena: a 2D multiplayer shooting game
	Copyright (c) 2010, Antonio Ragagnin <spocchio@gmail.com>
    All rights reserved.

    This file is licensed under the New BSD License.
*/

package plar.core;


import org.jbox2d.dynamics.Fixture;

import plar.core.Element;

/**
 * Is the Spawn point {@link Element}, new players will be spawned in one of this objects.
 *
 * @author Antonio Ragagnin
 *
 */
public class ElementSpawnPoint extends Element {

    public ElementSpawnPoint() {
        super();
        type=Common.ElementType.SPAWNPOINT;

        this.setBoxShape(0.5f, 1f);

    }

    public void setFixture(Fixture f) {
        super.setFixture(f);
        f.setSensor(true);
    }
}
